package com.biz.primus.management.geo.degraded;

import com.biz.primus.base.vo.PageVo;
import com.biz.primus.common.vo.SpringPageVO;
import com.biz.primus.management.geo.feign.GeoFeignClient;
import com.biz.primus.model.geo.vo.*;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * DegradedGeoFeignClient
 *
 * @author JKLiues
 * @date 2017年10月28日
 */
@Component
@Slf4j
public class DegradedGeoFeignClient implements GeoFeignClient {
    @Override
    public void updateProvinceInfo(GeoUpdateReqVo reqVo) {

    }

    @Override
    public void updateCityInfo(GeoUpdateReqVo reqVo) {

    }

    @Override
    public void updateDistrictInfo(GeoUpdateReqVo reqVo) {

    }

    @Override
    public SpringPageVO<ProvinceListRespVo> backProvinceList(PageVo reqVo) {
        return new SpringPageVO<>();
    }

    @Override
    public SpringPageVO<CityListRespVo> backCitesList(CityPageListReqVo reqVo) {
        return new SpringPageVO<>();
    }

    @Override
    public SpringPageVO<DistrictListRespVo> backDistrictList(DistrictPageListReqVo reqVo) {
        return new SpringPageVO<>();
    }

    @Override
    public ProvinceDetailRespVo findProvinceById(Long provinceId) {
        return new ProvinceDetailRespVo();
    }

    @Override
    public CityDetailRespVo findCityById(Long cityId) {
        return new CityDetailRespVo();
    }

    @Override
    public DistrictDetailRespVo findDistrictById(Long districtId) {
        return new DistrictDetailRespVo();
    }
}